package com.yxq.mdt.app.modules.personal.adapter;


import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.yxq.mdt.app.R;
import com.yxq.mdt.app.glide.GlideHelper;
import com.yxq.mdt.app.modules.personal.bean.MainPersonalStateBean;

import java.util.List;

/**
 * @author L
 * @time
 * @describe 回复的图片
 */
public class CommentReplyListImageAdapter extends BaseQuickAdapter<MainPersonalStateBean.ListBean.FileVoListBean, BaseViewHolder> {

    public CommentReplyListImageAdapter(int layoutResId, List<MainPersonalStateBean.ListBean.FileVoListBean> data) {
        super(layoutResId, data);

    }

    @Override
    protected void convert(BaseViewHolder helper, MainPersonalStateBean.ListBean.FileVoListBean fileVoListBean) {
        GlideHelper.setLoadRoundImage(mContext, fileVoListBean.getFile(), R.mipmap.placeholder_noraml, helper.getView(R.id.item_img));
    }
}
